﻿#region 版权说明
/**********************************************************************
      * 功能说明:
      * 
      * CLR 版本:       4.0.30319.18033
      * 类 名 称:       Freight_Details
      * 命名空间:       CrmManageSystemClient.Formn.Freight
      * 创建时间:       2013-05-09 10:09:14
      * 作    者:       Devil月哥
      * 版    权:       Freight_Details说明：本代码版权归Devil月哥所有 All Rights Reserved (C) 2013 - 2013
      * 网    站:       http://www.xd5u.com
      * 邮    箱:       webmaster@xd5u.com
      * 唯一标识：      b364f86d-99aa-4b93-9f0f-1115a433d9b9  

      * 修改时间:
      * 修 改 人:
      * 
      ***********************************************************************/
#endregion

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace CrmManageSystemClient.Formn.Freight
{
    public partial class FmFreight_Details : Form
    {
        public FmFreight_Details()
        {
            InitializeComponent();
        }

        Logistics.Model.Model_Xd5u_Express_Info Express_Info;
        public FmFreight_Details(Logistics.Model.Model_Xd5u_Express_Info Info)
        {
            Express_Info = Info;
            InitializeComponent();
        }

        private void Freight_Details_Load(object sender, EventArgs e)
        {
            dateTimePicker1.Value = Express_Info.CreateTime;
            textBox1.Text = Express_Info.Consignee;
            textBox2.Text = Express_Info.Sender;
            textBox3.Text = Express_Info.CategoryId.ToString();
            textBox4.Text = Express_Info.Note;
        }

        private void button1_Click(object sender, EventArgs e)
        {
            IList<Logistics.Model.Model_Xd5u_Express_Info> Model_Xd5u_Express_Info=new List<Logistics.Model.Model_Xd5u_Express_Info>();
            Model_Xd5u_Express_Info.Add(Express_Info);

            Formn.Print.FmPrint fmprint = new Print.FmPrint(Model_Xd5u_Express_Info);
            fmprint.ShowDialog();
        }
    }
}
